package com.stupro.cjlu.dao;

import com.stupro.cjlu.entity.Room;
import com.stupro.cjlu.mapper.RoomMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class RoomDAO {

    @Autowired
    private RoomMapper mapper;

    public List<Room> getRoom(){
        return mapper.selectList(null);
    }

}
